package com.gjun.struts.bean;

import java.util.Set;

import com.gjun.struts.bean.ext.Category;
import com.gjun.struts.bean.ext.Product;

public class CategoryJsonBean {
	
	private Integer id;

	private Integer turn;

	private String enName;

	private String name;

	private String description;

	private Integer parentId;

	private Set<Product> products;

	private Set<Category> subCats;

	

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}



	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}



	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}



	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}



	public CategoryJsonBean(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	 
	
	
	
	
}
